package com.twb.auth.entity.twbOnline;

import java.io.Serializable;

import org.apache.ibatis.type.JdbcType;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twb.core.base.entity.BaseEntity;

/**
 * @ClassName TwbOnline
 * @Description 登录日志
 * @author DSY
 * @date 2018年11月27日 下午12:51:16
 */
@TableName(value = "twb_online")
public class TwbOnline extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId(value="id",type=IdType.ASSIGN_UUID)
	private String id;

	/**
	 * 登录IP
	 */
	@TableField(value="ip",jdbcType = JdbcType.VARCHAR)
	private String ip;

	/**
	 * 登录名
	 */
	@TableField(value="login_name",jdbcType = JdbcType.VARCHAR)
	private String loginName;

	/**
	 * 登录类型（0，退出；1，登录）
	 */
	@TableField(value="login_type",jdbcType = JdbcType.VARCHAR)
	private String loginType;

	/**
	 * 类型
	 */
	@TableField(value="type",jdbcType = JdbcType.VARCHAR)
	private String type;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getLoginType() {
		return loginType;
	}

	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
